package com.chaofan.websocket.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chaofan.websocket.entity.PrizeConfig;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface PrizeConfigMapper extends BaseMapper<PrizeConfig> {

    @Select("select * from admin_prize_config   where config_key = #{configKey}")
    PrizeConfig selectAdminPrizeConfigByKey(String configKey);
}
